package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家余额记录对象 sys_business_finance_record
 * 
 * @author ruoyi
 * @date 2024-04-14
 */
public class SysBusinessFinanceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 流水号 */
    @Excel(name = "流水号")
    private String numberId;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal money;

    /** 类型 0 =入账  1= 出账 */
    @Excel(name = "类型 0 =入账  1= 出账")
    private Integer type;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 费率 */
    @Excel(name = "费率")
    private BigDecimal rate;

    /** 删除标志 */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setNumberId(String numberId) 
    {
        this.numberId = numberId;
    }

    public String getNumberId() 
    {
        return numberId;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setRate(BigDecimal rate) 
    {
        this.rate = rate;
    }

    public BigDecimal getRate() 
    {
        return rate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("numberId", getNumberId())
            .append("money", getMoney())
            .append("type", getType())
            .append("orderNo", getOrderNo())
            .append("rate", getRate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
